added samples
[windows-sources.git] / sdk / samples / all in on code / Visual Studio 2008 / CSVstoGetWrapperObject / CSVstoGetWrapperObject.csproj
blob79571df0084412fe5f4319d6b8638bafa6deed0a
1 <Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2   <!--
3     This section defines project-level properties.
5     AssemblyName
6       Name of the output assembly.
7     Configuration
8       Specifies a default value for debug.
9     OutputType
10       Must be "Library" for VSTO.
11     Platform
12       Specifies what CPU the output of this project can run on.
13     NoStandardLibraries
14       Set to "false" for VSTO.
15     RootNamespace
16       In C#, this specifies the namespace given to new files. In VB, all objects are
17       wrapped in this namespace at runtime.
18   -->
19   <PropertyGroup>
20     <ProjectTypeGuids>{BAA0C2D2-18E2-41B9-852F-F413020CAA33};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
21     <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
22     <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
23     <ProjectGuid>{7F97797A-1D0C-42F1-BAEC-CFAF6C1791A1}</ProjectGuid>
24     <OutputType>Library</OutputType>
25     <NoStandardLibraries>false</NoStandardLibraries>
26     <RootNamespace>CSVstoGetWrapperObject</RootNamespace>
27     <AssemblyName>CSVstoGetWrapperObject</AssemblyName>
28     <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
29     <BootstrapperEnabled>true</BootstrapperEnabled>
30     <BootstrapperComponentsLocation>HomeSite</BootstrapperComponentsLocation>
31     <ManifestCertificateThumbprint>4FE6A9C3F64DB14E1FC101903DDCD8EBB94C8560</ManifestCertificateThumbprint>
32     <ManifestKeyFile>CSVstoGetWrapperObject_TemporaryKey.pfx</ManifestKeyFile>
33     <SignManifests>false</SignManifests>
34   </PropertyGroup>
35   <ItemGroup>
36     <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
37       <Visible>False</Visible>
38       <ProductName>.NET Framework 3.5 SP1</ProductName>
39       <Install>true</Install>
40     </BootstrapperPackage>
41     <BootstrapperPackage Include="Microsoft.VSTORuntime.3.0">
42       <Visible>false</Visible>
43       <ProductName>Visual Studio Tools for the Office system 3.0 Runtime Service Pack 1</ProductName>
44       <Install>true</Install>
45     </BootstrapperPackage>
46     <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
47       <Visible>False</Visible>
48       <ProductName>Windows Installer 3.1</ProductName>
49       <Install>true</Install>
50     </BootstrapperPackage>
51     <BootstrapperPackage Include="Microsoft.Office.PIARedist.2007">
52       <Visible>false</Visible>
53       <ProductName>2007 Microsoft Office system Primary Interop Assemblies</ProductName>
54       <Install>true</Install>
55     </BootstrapperPackage>
56   </ItemGroup>
57   <PropertyGroup>
58     <!--
59       OfficeApplication
60         Add-in host application
61     -->
62     <OfficeApplication>Excel</OfficeApplication>
63   </PropertyGroup>
64   <!--
65     This section defines properties that are set when the "Debug" configuration is selected.
67     DebugSymbols
68       If "true", create symbols (.pdb). If "false", do not create symbols.
69     DefineConstants
70       Constants defined for the preprocessor.
71     EnableUnmanagedDebugging
72       If "true", starting the debugger will attach both managed and unmanaged debuggers.
73     Optimize
74       If "true", optimize the build output. If "false", do not optimize.
75     OutputPath
76       Output path of project relative to the project file.
77     WarningLevel
78       Warning level for the compiler.
79   -->
80   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
81     <DebugSymbols>true</DebugSymbols>
82     <DebugType>full</DebugType>
83     <Optimize>false</Optimize>
84     <OutputPath>..\Debug\</OutputPath>
85     <EnableUnmanagedDebugging>false</EnableUnmanagedDebugging>
86     <DefineConstants>DEBUG;TRACE</DefineConstants>
87     <WarningLevel>4</WarningLevel>
88   </PropertyGroup>
89   <!--
90     This section defines properties that are set when the "Release" configuration is selected.
92     DebugSymbols
93       If "true", create symbols (.pdb). If "false", do not create symbols.
94     DefineConstants
95       Constants defined for the preprocessor.
96     EnableUnmanagedDebugging
97       If "true", starting the debugger will attach both managed and unmanaged debuggers.
98     Optimize
99       If "true", optimize the build output. If "false", do not optimize.
100     OutputPath
101       Output path of project relative to the project file.
102     WarningLevel
103       Warning level for the compiler.
104   -->
105   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
106     <DebugType>pdbonly</DebugType>
107     <Optimize>true</Optimize>
108     <OutputPath>..\Release\</OutputPath>
109     <EnableUnmanagedDebugging>false</EnableUnmanagedDebugging>
110     <DefineConstants>TRACE</DefineConstants>
111     <WarningLevel>4</WarningLevel>
112   </PropertyGroup>
113   <!--
114     This section enables pre- and post-build steps. However, in VSTO use
115     MSBuild tasks instead of these properties.       
116   -->
117   <PropertyGroup>
118     <PreBuildEvent>
119     </PreBuildEvent>
120     <PostBuildEvent>
121     </PostBuildEvent>
122   </PropertyGroup>
123   <!--
124     This section specifies references for the project.
125   -->
126   <ItemGroup>
127     <Reference Include="Accessibility" />
128     <Reference Include="System" />
129     <Reference Include="System.AddIn, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL" />
130     <Reference Include="System.Data" />
131     <Reference Include="System.Drawing" />
132     <Reference Include="System.Windows.Forms" />
133     <Reference Include="System.Xml" />
134     <Reference Include="System.Core">
135       <RequiredTargetFramework>3.5</RequiredTargetFramework>
136     </Reference>
137     <Reference Include="System.Xml.Linq">
138       <RequiredTargetFramework>3.5</RequiredTargetFramework>
139     </Reference>
140     <Reference Include="System.Data.DataSetExtensions">
141       <RequiredTargetFramework>3.5</RequiredTargetFramework>
142     </Reference>
143     <Reference Include="Microsoft.Office.Tools.v9.0, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" />
144     <Reference Include="Microsoft.Office.Tools.Common.v9.0, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" />
145     <Reference Include="Microsoft.Office.Tools.Excel.v9.0, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" />
146     <Reference Include="Microsoft.VisualStudio.Tools.Applications.Runtime.v9.0, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" />
147   </ItemGroup>
148   <ItemGroup>
149     <Reference Include="Office, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c">
150       <Private>False</Private>
151     </Reference>
152     <Reference Include="Microsoft.Office.Interop.Excel, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c">
153       <Private>False</Private>
154     </Reference>
155     <Reference Include="stdole, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
156       <Private>False</Private>
157     </Reference>
158   </ItemGroup>
159   <!--
160     This section defines the user source files that are part of the project.
161      
162     A "Compile" element specifies a source file to compile.
163     An "EmbeddedResource" element specifies an .resx file for embedded resources.
164     A "None" element specifies a file that is not to be passed to the compiler (for instance, 
165     a text file or XML file).
166     The "AppDesigner" element specifies the directory where the application properties files
167     can be found.
168   -->
169   <ItemGroup>
170     <Compile Include="DemoData.cs">
171       <DependentUpon>DemoData.xsd</DependentUpon>
172       <SubType>Component</SubType>
173     </Compile>
174     <Compile Include="DemoData.Designer.cs">
175       <AutoGen>True</AutoGen>
176       <DesignTime>True</DesignTime>
177       <DependentUpon>DemoData.xsd</DependentUpon>
178     </Compile>
179     <Compile Include="GetWrapperForm.cs">
180       <SubType>Form</SubType>
181     </Compile>
182     <Compile Include="GetWrapperForm.Designer.cs">
183       <DependentUpon>GetWrapperForm.cs</DependentUpon>
184     </Compile>
185     <Compile Include="GetWrapperRibbon.cs">
186       <SubType>Component</SubType>
187     </Compile>
188     <Compile Include="GetWrapperRibbon.Designer.cs">
189       <DependentUpon>GetWrapperRibbon.cs</DependentUpon>
190     </Compile>
191     <Compile Include="Properties\AssemblyInfo.cs">
192       <SubType>Code</SubType>
193     </Compile>
194     <EmbeddedResource Include="GetWrapperForm.resx">
195       <DependentUpon>GetWrapperForm.cs</DependentUpon>
196     </EmbeddedResource>
197     <EmbeddedResource Include="GetWrapperRibbon.resx">
198       <DependentUpon>GetWrapperRibbon.cs</DependentUpon>
199     </EmbeddedResource>
200     <EmbeddedResource Include="Properties\Resources.resx">
201       <Generator>ResXFileCodeGenerator</Generator>
202       <LastGenOutput>Resources.Designer.cs</LastGenOutput>
203       <SubType>Designer</SubType>
204     </EmbeddedResource>
205     <Compile Include="Properties\Resources.Designer.cs">
206       <AutoGen>True</AutoGen>
207       <DependentUpon>Resources.resx</DependentUpon>
208     </Compile>
209     <None Include="DemoData.xsc">
210       <DependentUpon>DemoData.xsd</DependentUpon>
211     </None>
212     <None Include="DemoData.xsd">
213       <SubType>Designer</SubType>
214       <Generator>MSDataSetGenerator</Generator>
215       <LastGenOutput>DemoData.Designer.cs</LastGenOutput>
216     </None>
217     <None Include="DemoData.xss">
218       <DependentUpon>DemoData.xsd</DependentUpon>
219     </None>
220     <None Include="Properties\Settings.settings">
221       <Generator>SettingsSingleFileGenerator</Generator>
222       <LastGenOutput>Settings.Designer.cs</LastGenOutput>
223     </None>
224     <Compile Include="Properties\Settings.Designer.cs">
225       <AutoGen>True</AutoGen>
226       <DependentUpon>Settings.settings</DependentUpon>
227     </Compile>
228     <Compile Include="ThisAddIn.cs">
229       <SubType>Code</SubType>
230     </Compile>
231     <None Include="ThisAddIn.Designer.xml">
232       <DependentUpon>ThisAddIn.cs</DependentUpon>
233     </None>
234     <Compile Include="ThisAddIn.Designer.cs">
235       <DependentUpon>ThisAddIn.Designer.xml</DependentUpon>
236     </Compile>
237     <AppDesigner Include="Properties\" />
238   </ItemGroup>
239   <ItemGroup>
240     <Content Include="ReadMe.txt" />
241   </ItemGroup>
242   <!-- Include the build rules for a C# project. -->
243   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
244   <!-- Include additional build rules for an Office application add-in. -->
245   <Import Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v9.0\OfficeTools\Microsoft.VisualStudio.Tools.Office.Office2007.targets" />
246   <!-- This section defines VSTO properties that describe the host-changeable project properties. -->
247   <ProjectExtensions>
248     <VisualStudio>
249       <FlavorProperties GUID="{BAA0C2D2-18E2-41B9-852F-F413020CAA33}">
250         <ProjectProperties HostName="Excel" HostPackage="{D2B20FF5-A6E5-47E1-90E8-463C6860CB05}" OfficeVersion="12.0" VstxVersion="3.0" ApplicationType="Excel" Language="cs" TemplatesPath="" DebugInfoExeName="#Software\Microsoft\Office\12.0\Excel\InstallRoot\Path#excel.exe" AddItemTemplatesGuid="{147FB6A7-F239-4523-AE65-B6A4E49B361F}" />
251         <Host Name="Excel" GeneratedCodeNamespace="CSVstoGetWrapperObject" IconIndex="0">
252           <HostItem Name="ThisAddIn" Code="ThisAddIn.cs" CanonicalName="AddIn" CanActivate="false" IconIndex="1" Blueprint="ThisAddIn.Designer.xml" GeneratedCode="ThisAddIn.Designer.cs" />
253         </Host>
254         <ProjectClient>
255           <VSTO_CompatibleProducts ErrorProduct="This project requires Microsoft Office Excel 2007 and the registered primary interop assemblies, but these are not installed." ErrorPIA="This project references the primary interop assembly for Microsoft Office Excel 2007, but this primary interop assembly is not installed.">
256             <Product Code="{XX12XXXX-XXXX-XXXX-X000-X000000FF1CE}" Feature="EXCELFiles" PIAFeature="EXCEL_PIA" />
257           </VSTO_CompatibleProducts>
258         </ProjectClient>
259       </FlavorProperties>
260     </VisualStudio>
261   </ProjectExtensions>
262 </Project>